package com.asset.dispoal.channel.api;


import com.asset.dispoal.channel.dto.SysChannelDebtRequest;
import com.asset.dispoal.channel.dto.SysChannelOpenRequest;
import com.asset.dispoal.channel.dto.SysChannelPayRequest;
import com.asset.dispoal.channel.dto.SysChannelRequest;
import com.asset.dispoal.channel.dto.SysChannelResponse;
import tech.mhuang.pacebox.springboot.protocol.Result;
import tech.mhuang.pacebox.springboot.protocol.data.PageVO;

/**
 * 批次证据种类映射表服务接口
 *
 * @author: mhuang
 * @date: 2022-03-23 17:10:57
 */
public interface SysChannelService {


    /**
     * 添加
     *
     * @param request
     * @return
     */
    Result insert(SysChannelRequest request);


    /**
     * 修改
     *
     * @param request
     * @return
     */
    Result update(SysChannelRequest request);


    /**
     * 删除
     *
     * @param id
     * @return
     */
    Result delete(String id);


    /**
     * 分页查询
     *
     * @param request
     * @return
     */
    Result<PageVO<SysChannelResponse>> queryPage(SysChannelRequest request);

    Result debtInsert(SysChannelDebtRequest request);

    Result debtUpdate(SysChannelDebtRequest request);

    Result debtDelete(String id);

    Result debtQueryPage(SysChannelDebtRequest request);

    Result openInsert(SysChannelOpenRequest request);

    Result openUpdate(SysChannelOpenRequest request);

    Result openDelete(String id);

    Result openQueryPage(SysChannelOpenRequest request);

    Result payInsert(SysChannelPayRequest request);

    Result payUpdate(SysChannelPayRequest request);

    Result payDelete(String id);

    Result payQueryAll(SysChannelPayRequest request);
}